<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@include file="include/header.jsp" %>
</head>
<body>
<%@include file="include/menu.jsp" %>
</head>
<body>

  <%@page import="java.util.ArrayList,condominios.modelo.Cuotas"%>
  
  	
  
  
    <% 
    
    ArrayList<Cuotas> cuotaslista = (ArrayList<Cuotas>)  request.getAttribute("CUOTAS");
    
    %>
<!-- contenedor -->
    
    
    <div class="container" >
    
    <table  class="table table-striped table-bordered table-condensed" >
    <thead>
    <tr>
        <td>Id Cuota</td>
        <td>Id Vivenda</td>
        <td>Fecha</td>
        <td>Importe</td>
        <td>Fecha de Vencimiento</td>
    </tr>
    </thead>
    
     <tbody>
    
       <% 
  				
  				for (Cuotas obj : cuotaslista) {
  		%>
    
    <tr>
  					<td><%=obj.getIdCuota()%></td>
  					<td><%=obj.getIdVivienda()%></td>
  					<td><%=obj.getFechaRegistro()%></td>
  					<td><%=obj.getImporte()%></td>
  					<td><%=obj.getFechaVencimiento()%></td>
  					
  				</tr>
    
    
         <%
  				}
  		  %>

     </tbody>





    
    </table>  
  <a  class="btn"  href="RegistroCuotas.jsp">Nueva Cuotas</a>
    
    
    </div>
</body>
</html>